﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GantiPassword.aspx.cs" Inherits="SIAKAD.Dosens.GantiPassword" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>SIAKAD - MAHASISWA</title>

    <!-- normalize.css -->
    <link href="../Content/normalize.css" rel="stylesheet" />

    <!-- Bootstrap -->
    <link href="../Content/bootstrap.min.css" rel="stylesheet" />

    <!-- SIAKAD style -->
    <link href="../Content/Css/Siakad.css" rel="stylesheet" />

    <!-- Login style -->
    <link href="../Content/Css/Login.css" rel="stylesheet" />
    
    <!-- jQuery -->
    <script src="../Scripts/jquery-2.1.0.min.js"></script>
    <script src="../Scripts/bootstrap.min.js"></script>

    <!-- SIAKAD script -->
    <script src="../Scripts/Js/Siakad.js"></script>

    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <form id="frmGantiPassword" runat="server">
        <!-- navbar -->
        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">SIAKAD</a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="../Dosen.aspx">Home</a></li>
                    </ul>
                    <ul class="nav navbar-nav pull-right">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><asp:Literal ID="litName" runat="server" />&nbsp;<b class="caret"></b></a>
                            <ul class="dropdown-menu pull-right">
                                <li><asp:LinkButton ID="lnkLogout" runat="server" Text="Logout" OnClick="lnkLogout_Click" /></li>                     
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="container">
            <div class="row">

                <div class="col-xs-12 col-sm-6 col-md-6">
                    <h3>Ganti Password</h3>

                    <div id="pnlTidakSama" runat="server" class="panel panel-danger hidden">
                        <div class="panel-heading">
                            Error
                        </div>
                        <div class="panel-body">
                            Password lama salah.
                        </div>
                    </div>

                    <div id="pnlSukses" runat="server" class="panel panel-success hidden">
                        <div class="panel-heading">
                            Sukses
                        </div>
                        <div class="panel-body">
                            Password sukses diganti!
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="txtPasswordLama">Password Lama</label>
                        <asp:TextBox ID="txtPasswordLama" runat="server" TextMode="Password" CssClass="form-control" required="required" autofocus="autofocus" />
                    </div>
                    
                    <div class="form-group">
                        <label for="txtPasswordBaru">Password Baru</label>
                        <asp:TextBox ID="txtPasswordBaru" runat="server" TextMode="Password" CssClass="form-control" required="required" />
                    </div>

                    <asp:Button ID="btSubmit" runat="server" CssClass="btn btn-primary" Text="Ganti" OnClick="btSubmit_Click" />
                </div>
            </div>
        </div>

        <div id="footer">
            <div class="container">
                <p class="text-muted">&copy; <%: DateTime.Now.Year.ToString() %> Rezki Wulan Permata Sari</p>
            </div>
        </div>
    </form>
</body>
</html>
